package AOP;

/**
 * User: cool
 * Date: 2019/8/10
 * Time: 17:08
 */
public class UserDaoDImpl  implements UserDao{

    @Override
    public void saveUser() {
        System.out.println("动态代理：用户保存");
        this.testPrivate();
    }
    private void testPrivate(){
        System.out.println("执行private方法");
    }
}
